package com.vrv.app.cyberspace.modules.sys.entity;

import java.io.Serializable;

import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;


/**
 * <p>
 * <p>
 * </p>
 *
 * @author sm
 * @since 2017-12-28
 */
@TableName("ORGANIZE_TABLE")
public class OrganizeTable extends Model<OrganizeTable> {

    private static final long serialVersionUID = 1L;

    /**
     * 地区ID
     */
    private Integer areaID;
    private Integer branchID;
    /**
     * 城市ID
     */
    private Integer cityID;
    /**
     * 创建日期
     */
    private Date creationDate;
    /**
     * 用户账号
     */
    private Integer departLevel;
    /**
     * 企业ID
     */
    private Integer enterpriseID;
    /**
     * 导入组织机构时,记录EXL中数据的行数
     */
    private Integer exlRow;
    /**
     * 是否隐藏, 1公开 2隐藏
     */
    private Integer isHidden;
    /**
     * 叶子节点
     */
    private Integer leaf;
    private Integer orderNum;
    /**
     * 组织机构code
     */
    private String orgCode;
    /**
     * 组织机构ID
     */
    @TableId(value = "orgID")
    private Integer orgID;
    /**
     * 组织机构名称
     */
    private String orgName;
    /**
     * 父节点组织机构ID
     */
    private Integer parentOrgID;
    /**
     * 省会ID
     */
    private Integer provinceID;
    /**
     * 备注
     */
    private String remark;
    /**
     * 返回码
     */
    private Integer resCode;
    private Integer subOrgNum;
    private Integer subUserNum;
    /**
     * 修改日期
     */
    private Date updatedDate;

    /**
     * 角色ID
     */
    private Integer roleID;


    public Integer getAreaID() {
        return areaID;
    }

    public void setAreaID(Integer areaID) {
        this.areaID = areaID;
    }

    public Integer getBranchID() {
        return branchID;
    }

    public void setBranchID(Integer branchID) {
        this.branchID = branchID;
    }

    public Integer getCityID() {
        return cityID;
    }

    public void setCityID(Integer cityID) {
        this.cityID = cityID;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Integer getDepartLevel() {
        return departLevel;
    }

    public void setDepartLevel(Integer departLevel) {
        this.departLevel = departLevel;
    }

    public Integer getEnterpriseID() {
        return enterpriseID;
    }

    public void setEnterpriseID(Integer enterpriseID) {
        this.enterpriseID = enterpriseID;
    }

    public Integer getExlRow() {
        return exlRow;
    }

    public void setExlRow(Integer exlRow) {
        this.exlRow = exlRow;
    }

    public Integer getIsHidden() {
        return isHidden;
    }

    public void setIsHidden(Integer isHidden) {
        this.isHidden = isHidden;
    }

    public Integer getLeaf() {
        return leaf;
    }

    public void setLeaf(Integer leaf) {
        this.leaf = leaf;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public Integer getOrgID() {
        return orgID;
    }

    public void setOrgID(Integer orgID) {
        this.orgID = orgID;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getParentOrgID() {
        return parentOrgID;
    }

    public void setParentOrgID(Integer parentOrgID) {
        this.parentOrgID = parentOrgID;
    }

    public Integer getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(Integer provinceID) {
        this.provinceID = provinceID;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }

    public Integer getSubOrgNum() {
        return subOrgNum;
    }

    public void setSubOrgNum(Integer subOrgNum) {
        this.subOrgNum = subOrgNum;
    }

    public Integer getSubUserNum() {
        return subUserNum;
    }

    public void setSubUserNum(Integer subUserNum) {
        this.subUserNum = subUserNum;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public Integer getRoleID() {
        return roleID;
    }

    public void setRoleID(Integer roleID) {
        this.roleID = roleID;
    }

    @Override
    protected Serializable pkVal() {
        return this.orgID;
    }

    @Override
    public String toString() {
        return "OrganizeTable{" +
                ", areaID=" + areaID +
                ", branchID=" + branchID +
                ", cityID=" + cityID +
                ", creationDate=" + creationDate +
                ", departLevel=" + departLevel +
                ", enterpriseID=" + enterpriseID +
                ", exlRow=" + exlRow +
                ", isHidden=" + isHidden +
                ", leaf=" + leaf +
                ", orderNum=" + orderNum +
                ", orgCode=" + orgCode +
                ", orgID=" + orgID +
                ", orgName=" + orgName +
                ", parentOrgID=" + parentOrgID +
                ", provinceID=" + provinceID +
                ", remark=" + remark +
                ", resCode=" + resCode +
                ", subOrgNum=" + subOrgNum +
                ", subUserNum=" + subUserNum +
                ", updatedDate=" + updatedDate +
                "}";
    }
}
